package cn.zxh.csdn_maven.atomy.auth;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.apache.http.client.ClientProtocolException;

import cn.zxh.csdn_maven.base.pojo.Cookies;
import cn.zxh.csdn_maven.base.pojo.User;
import cn.zxh.csdn_maven.base.util.File.PropertiesUtil;
import cn.zxh.csdn_maven.base.util.File.WriteToFile;
/**add2*/
public class LoginTestZxh4 {
	
	public static void main(String[] args) throws ClientProtocolException, IOException {
		User user=new User("870775401@qq.com","QQ15996779085");
		Login login = new Login(user);
		login.start();
		WriteToFile.writeByOutputStreamWrite(PropertiesUtil.getValueFromPropertiesKey("base.properties", "cookie_path").toString(), Cookies.getCookies());
	}


}
